package com.example.demo.business.controller.v1;

import com.example.demo.business.service.ProxyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("v1/proxy")
@RestController
public class ProxyController {
    @Autowired
    private ProxyService proxyService;
    @GetMapping("/lower/reward")
    public Object getLowerReward(String token){
        return proxyService.getProxyIncome(token);
    }
}
